<%--
  Created by IntelliJ IDEA.
  User: Squking
  Date: 2018/4/30
  Time: 22:48
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
    <h1>请您登录</h1>
    <form:form method="POST" action="/action/login">
        <table>
            <tr>
                <td><form:label path="name">登录名称: </form:label></td>
                <td><form:input path="name" /></td>
            </tr>
            <tr>
                <td><form:label path="password">输入密码: </form:label></td>
                <td><form:input path="password" /></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="提交"/>
                </td>
            </tr>
        </table>
    </form:form>
</body>
</html>
